import axios from "axios";
// 首页
// 轮播图
export let getBookList = () => axios.get("/hb/api/recommend/goodBookList");
// 首页分类列表数据
export let getIndexData = () => axios.get("/hb/api/home/getIndexData");
// 全部分类
export let AllSort = () => axios.get("/hb/api/category/getFcList?position=1");
// 首页达人书单数据 、 书单列表数据
export let getNecessary = () =>
  axios.get(
    "/hb/api/goods/getNecessaryGoodsList?perpage=10&goods_type=1&goods_position=0"
  );
// 首页达人精选数据 、 分类详情数据
export let getTalent = () =>
  axios.get(
    "/hb/api/goods/getTalentGoodsList?perpage=10&goods_type=1&goods_position=0&from=index"
  );
// 首页热门榜单数据
export let Hot = () => axios.get("/hb/api/leaderboard/homeLeaderboard");
